package com.zmn.uac.common.dio.oauth.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 类描述：用户授权登陆请求对象
 *
 * @author xujie
 * @since 2021/05/18 17:45
 */
@Data
@ApiModel("用户授权登陆请求对象")
public class UserAuthLoginDIO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "日志跟踪", hidden = true)
    private String uuid;

    @ApiModelProperty(value = "渠道ID", hidden = true)
    private Integer channelId;
    /**
     * {@link com.zmn.uac.common.constant.AccessTypeConstant}
     */
    @ApiModelProperty(value = "访问类型:1店铺,2品牌站和站点", hidden = true)
    private Integer accessType;

    @ApiModelProperty(value = "订单渠道id", hidden = true)
    private Integer orderChannelId;

    @ApiModelProperty(value = "平台ID", hidden = true)
    private Integer plat;

    @ApiModelProperty(value = "openId", required = true)
    private String openId;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("头像地址")
    private String avatarUrl;

    @ApiModelProperty(value = "unionId", required = true)
    private String unionId;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("国家")
    private String country;

    @ApiModelProperty("省份")
    private String province;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty(value = "ip地址", hidden = true)
    private String ip;

    @ApiModelProperty(value = "设备信息(浏览器信息/设备码)", hidden = true)
    private String deviceInfo;

    @ApiModelProperty(value = "encryptedData", hidden = true)
    private String encryptedData;

    @ApiModelProperty(value = "iv", hidden = true)
    private String iv;

    @ApiModelProperty(value = "code", hidden = true)
    private String code;

    @ApiModelProperty(value = "字节跳动anonymousCode", hidden = true)
    private String anonymousCode;

    @ApiModelProperty(value = "入口", hidden = true)
    private Integer entrance;

    @ApiModelProperty(value = "三方应用的ID", hidden = true)
    private String thirdAppId;

    @ApiModelProperty(value = "用户ID", hidden = true)
    private Long userId;

    @ApiModelProperty(value = "应用名称", hidden = true)
    private String appName;

    @ApiModelProperty(value = "渠道名称", hidden = true)
    private String channelName;

    @ApiModelProperty(value = "商品id", hidden = true)
    private Integer shopId;

    @ApiModelProperty(value = "服务商id", hidden = true)
    private Integer spId;

    @ApiModelProperty(value = "应用类型", hidden = true)
    private Integer appType;

    @ApiModelProperty(value = "版本号", hidden = true)
    private String appVersion;

    @ApiModelProperty("语言")
    private String language;

    @ApiModelProperty(value = "手机号")
    private String mobile;



}
